<template>
  <view class="jeck">
    <view class="information-header">
      <image
      @tap="HomePageJump"
        src="https://www.k12zx.com/statics/index/img/logo3.png"
        class="information-header-img"
      ></image>
    </view>
    <view class="image"></view>
    <view class="sda">
      <view class="sda-1">面对国际学校，</view>
      <view class="skd2">这十个问题你必须知道</view>
    </view>
    <view class="work-intro">
      <view class="title-text">
        <text>专业导师 为您解答以下问题 点击问题咨询</text>
      </view>
      <view class="sda-2">
        <view class="sda-block">
          <image></image>
          <view class="sda-block-text">测试文字测试文字</view>
        </view>
        <view class="sda-block">
          <image></image>
          <view class="sda-block-text">测试文字测试文字</view>
        </view>
        <view class="sda-block">
          <image></image>
          <view class="sda-block-text">测试文字测试文字</view>
        </view>
        <view class="sda-block">
          <image></image>
          <view class="sda-block-text">测试文字测试文字</view>
        </view>
        <view class="sda-block">
          <image></image>
          <view class="sda-block-text">测试文字测试文字</view>
        </view>
        <view class="sda-block">
          <image></image>
          <view class="sda-block-text">测试文字测试文字</view>
        </view>
        <view class="sda-block">
          <image></image>
          <view class="sda-block-text">测试文字测试文字</view>
        </view>
        <view class="sda-block">
          <image></image>
          <view class="sda-block-text">测试文字测试文字</view>
        </view>
      </view>
    </view>
    <view class="sda-3">
      <view class="sda3-title">科学择校 4步曲</view>
      <view class="sda3-t">择校咨询热线:400-0118-798</view>
      <view class="ada3-content">
        <view class="sda3-block">
          <view class="sda3-block-title">一、学生情况分析</view>
          <text class="sda3-block-content"
            >通过电话测试，了解孩子的基础知识、教育背景、兴趣爱好和留学意向！</text
          >
        </view>
        <view class="sda3-block">
          <view class="sda3-block-title">一、学生情况分析</view>
          <text class="sda3-block-content"
            >通过电话测试，了解孩子的基础知识、教育背景、兴趣爱好和留学意向！</text
          >
        </view>
        <view class="sda3-block">
          <view class="sda3-block-title">一、学生情况分析</view>
          <text class="sda3-block-content"
            >通过电话测试，了解孩子的基础知识、教育背景、兴趣爱好和留学意向！</text
          >
        </view>
      </view>
    </view>
    <view class="sda">
      <view class="sda-1">面对国际学校，</view>
      <view>这十个问题你必须知道</view>
    </view>
    <view class="work-intro">
      <view class="title-text">
        <text>择校咨询热线:400-0118-798</text>
      </view>
    </view>
    <view class="image"></view>
    <view class="sda5">
      <view class="skd1">
        <view class="skd3">
          <view class="skd4">面对国际学校，</view>
          <view class="skd5">这十个问题你必须知道</view>
        </view>
        <view class="sda3-t"><text>择校咨询热线:400-0118-798</text></view>
      </view>
      <view class="skd6">
        <view class="skd7">华北校区</view>
        <view class="skd8">
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
        </view>
      </view>
      <view class="skd6">
        <view class="skd7">华北校区</view>
        <view class="skd8">
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
        </view>
      </view>
      <view class="skd6">
        <view class="skd7">华东校区</view>
        <view class="skd8">
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
        </view>
      </view>
      <view class="skd6">
        <view class="skd7">华南校区</view>
        <view class="skd8">
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
        </view>
      </view>
      <view class="skd6">
        <view class="skd7">华中校区</view>
        <view class="skd8">
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
          <view class="skd9">
            <image src=""></image>
          </view>
        </view>
      </view>
    </view>
    <view class="skdBox"></view>
    <view class="skd-footer">
      <view class="skd-bar" @tap="callPhone">
        <view class="skd-barBox">
          <image src="../../icon/电话.png"></image>
          <text>电话咨询</text>
        </view>
      </view>
      <view class="skd-bar" @tap="callSms">
        <view class="skd-barBox">
          <image src="../../icon/预约.png"></image>
          <text>短信资讯</text>
        </view>
      </view>
    </view>
  </view>
</template>

<script>
import Taro from "@tarojs/taro";
import "./index.css";
export default {
  data(){
    return{

    }
  },
  methods:{
     HomePageJump() {
      Taro.redirectTo({
        url: "/pages/index/index",
      });
    },
    callPhone(e) {
      let mobile = "13261917725";
      // let mobile = e.currentTarget.dataset.phone;
      Taro.showActionSheet({
        itemList: ["呼叫", "添加联系人", "复制"],
        success: function (res) {
          if (res.tapIndex === 0) {
            // 呼叫号码
            Taro.makePhoneCall({
              phoneNumber: mobile + "",
            }).catch((e) => {
              // console.log(e);  //抛出错误
            });
          } else if (res.tapIndex == 1) {
            // 添加到手机通讯录
            Taro.addPhoneContact({
              firstName: "张三", //联系人姓名
              mobilePhoneNumber: mobile + "", //联系人手机号
            });
          } else if (res.tapIndex == 2) {
            Taro.setClipboardData({
              data: mobile + "",
              success() {
                Taro.getClipboardData({
                  success(resx) {
                    Taro.showToast({
                      title: "复制成功",
                      icon: "none",
                    });
                    console.log(resx);
                  },
                });
              },
            });
          }
        },
      });
    },
    callSms(){
      
    }
  }
};
</script>

<style></style>
